package demo50;

public class Student {
	private int id;
	private String name;
	private int[] arr=new int[3];
	private int sum;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int[] getArr() {
		return arr;
	}
	public void setArr(int[] arr) {
		this.arr[0] = arr[0];
		this.arr[1] = arr[1];
		this.arr[2] = arr[2];
	}
	public int getSum() {
		return sum;
	}
	public void setSum(int sum) {
		this.sum = sum;
	}
	public Student(int id, String name, int[] arr, int sum) {
		super();
		this.id = id;
		this.name = name;
		this.arr[0] = arr[0];
		this.arr[1] = arr[1];
		this.arr[2] = arr[2];
		this.sum = sum;
	}
	public Student() {		
	}
}
